package org.achao.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @TableName mybatis_plus_demo
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value ="mybatis_plus_demo")
public class MybatisPlusDemo implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 键
     */
    private String familyKey;

    /**
     * 值
     */
    private String familyValue;

    /**
     * 逻辑删除
     */
    @TableLogic()
    private Integer isDeleted;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
